import request from "utils/request";
//注册
export function accountUser_register(data = {}) {
  return request({
    url: 'api/accountUser/register',
    method: 'post',
    data,
  })
}
//登录
export function accountUser_loginPost(data = {}) {
  return request({
    url: 'api/accountUser/loginPost',
    method: 'post',
    data,
  })
}
//验证码
export function vertify_sendVertifyCode(params = {}) {
  return request({
    url: 'api/vertify/sendVertifyCode',
    method: 'get',
    params,
  })
}
//编辑个人信息
export function accountUser_editInfo(data = {}) {
  return request({
    url: 'api/accountUser/editInfo',
    method: 'post',
    data,
  })
}
//修改密码
export function accountUser_editPassword(data = {}) {
  return request({
    url: 'api/accountUser/editPassword',
    method: 'post',
    data,
  })
}
//忘记密码
export function accountUser_forgetPassword(data = {}) {
  return request({
    url: 'api/accountUser/forgetPassword',
    method: 'post',
    data,
  })
}
//协议或隐私
export function ruleTw_getListByCon(params = {}) {
  return request({
    url: 'api/ruleTw/getListByCon',
    method: 'get',
    params,
  })
}
